<template>
  <div class='wrap'>
    <h1>{{title}}分类</h1>
    <slot></slot>
  </div>
</template>

<script>
export default {
    name:'Tab',
    props: ['title','list']
}
</script>

<style>
    .wrap{
        width: 300px;
        height: 400px;
        background: pink;
    }
</style>